<?php

class CashTransferPageLink extends Extension {
	function getCashTransfer(){
        $page = CashTransferPage::get()->find('ClassName', 'CashTransferPage');
        if($page) return $page;
    }
    
    function getCashTransferLink() {
        $page = $this->getCashTransfer();
        if($page) return $page->Link();
    }
	
    function getCashTransferStatement(){
        $page = CashTransferStatementPage::get()->find('ClassName', 'CashTransferStatementPage');
        if($page) return $page;
    }
    
    function getCashTransferStatementLink() {
        $page = $this->getCashTransferStatement();
        if($page) return $page->Link();
    }
}
